
//
//  WBCommon.swift
//  SinaWebo
//
//  Created by 亚杏 on 2017/5/18.
//  Copyright © 2017年 oms. All rights reserved.
//

import Foundation

//MARK:信息
let WBAppKey = "856077703"
let WBAppSecret = "988de8a6d0f80017bdd87f99cceaefda"
let WBRedirectURL = "https://www.baidu.com" //回调地址

let Token_URL = "https://api.weibo.com/oauth2/access_token"
let userInfo_URL = "https://api.weibo.com/2/users/show.json"

//MARK:全局通知定义
//登录通知名
let WBUserShouldLoginNotification = "UserShouldLoginNotification"

/// 实例化照片浏览器
///
/// @param selectedIndex    选中照片索引
/// @param urls             浏览照片 URL 字符串数组
/// @param parentImageViews 父视图的图像视图数组，用户展现和解除转场动画参照
// 浏览照片通知
let WBStatusCellBrowserPhotoNotification = "WBStatusCellBrowserPhotoNotification"
//选中索引key
let WBStatusCellBrowserPhotoSelectedIndexKey = "WBStatusCellBrowserphtoSelectedIndexKey"
//浏览照片URL字符串 key
let WBStatusCellBrowserPhotoURLsKey = "WBStatusCellBrowserPhotoURLsKey"
//父视图的图像视图数组 key
let WBStatusCellBrowserPhotoImageViewsKey = "WBStatusCellBrowserPhotoImageViewsKey"


//配图视图常量
//配图视图外侧间距
let WBStatusPicViewOutterMargin = CGFloat(12)
//配图视图内部图片间距
let WBStatusPicViewInnerMargin = CGFloat(3)
//视图的宽度
let WBStatusPicViewWidth = UIScreen.cz_screenWidth() - 2 * WBStatusPicViewOutterMargin
//每个item默认的宽度
let WBStatusPicItemWidth = (WBStatusPicViewWidth - 8 * WBStatusPicViewInnerMargin)/3
